package com.hdl.school.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.Date;

@Table(name="event_log")
public class RoomEventAction {
    @Column(name = "id", isId = true)
    private int id;

    @Column(name = "action")
    private String action;

    @Column(name = "card_num",property = "NOT NULL")
    private String cardNum;

    @Column(name = "auth_result",property = "NOT NULL")
    private int authResult;

    @Column(name = "upload_tag")
    private int uoloadTag;

    @Column(name = "event_time")
    private Date eventTime;

    @Column(name = "tag")
    private String tag;



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public int getUoloadTag() {
        return uoloadTag;
    }

    public void setUoloadTag(int uoloadTag) {
        this.uoloadTag = uoloadTag;
    }

    public Date getEventTime() {
        return eventTime;
    }

    public void setEventTime(Date eventTime) {
        this.eventTime = eventTime;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public int getAuthResult() {
        return authResult;
    }

    public void setAuthResult(int authResult) {
        this.authResult = authResult;
    }
}
